package com.smartClassroom.content.service;


import com.smartClassroom.base.model.PageParams;
import com.smartClassroom.base.model.PageResult;
import com.smartClassroom.content.model.dto.*;
import com.smartClassroom.content.model.po.CourseBase;

import java.util.List;

/**
 * @description 课程信息管理接口
 */
public interface CourseBaseInfoService {

    /**
     * 课程分页查询
     * @param pageParams 分页查询参数
     * @param courseParamsDto 查询条件
     * @return 查询结果
     */
    public PageResult<CourseBase> queryCourseBaseList(Long companyId,PageParams pageParams, QueryCourseParamsDto courseParamsDto);


    CourseBaseInfoDto createCourseBase(Long companyId, AddCourseDto addCourseDto);

    CourseBaseInfoDto getCourseBaseById(Long courseId);

    CourseBaseInfoDto modifyCourseBase(Long companyId,EditCourseDto editCourseDto);

    CourseBaseInfoDto getCourseBaseInfoDto(Long newCourseId);

}
